package com.viego.financialrecommendsystem.service;

import com.viego.financialrecommendsystem.entity.Article;
import com.viego.financialrecommendsystem.entity.Menu;
import java.util.List;


public interface IArticleService {

    Article queryById(Long id);

    List<Menu> menu();

    Integer collect(long articleId);

    boolean addCollect(String userId, String articleId);

    boolean isCollected(Long userId, Long articleId);

    List<Article> article(long parseLong);

    boolean save(Article article);

    List<String> type();

    boolean removeCollect(long userId, long articleId);
}
